package day4.teacher;

/**
 * @author oldliu
 * @since 1.0
 */
public class TeacherTest {
    public static void main(String[] args) {
        MathTeacher t=new MathTeacher("老黄",45);
        t.selfIntro();
        t.giveLession();
        t.huayuan();
        PETeacher t2=new PETeacher("小黄",24);
        t2.selfIntro();
        t2.giveLession();
        System.out.println(">>>>>>>>>>>>>>>>>>");
        Teacher th=new MathTeacher("老刘",29);
        th.selfIntro();
        th.giveLession();
        //th.huayuan();
    }
}
